import {getAssetsFile} from "@/utils/getAssets.js";

export const tabBarRoutes=[
    {
        path:'/home',
        component:()=>import('@/views/home/index.vue'),
        name: 'home',
        meta: {
            title: '首页', //菜单标题
            hidden: false, //代表路由标题在菜单中是否隐藏  true:隐藏 false:不隐藏
            check:true,
            layout:'defaultlayout',
            icon:{
                type:'img', //图片/icon类型
                activeIcon:getAssetsFile('img','homeActive.png'),
                inactiveIcon:getAssetsFile('img','homeInActive.png'),
            }
        },
    },
    {
        path:'/service',
        component:()=>import('@/views/sevice/index.vue'),
        name: 'service',
        meta: {
            title: '服务', //菜单标题
            hidden: false, //代表路由标题在菜单中是否隐藏  true:隐藏 false:不隐藏
            check:true,
            layout:'defaultlayout',
            icon:{
                type:'img', //图片/icon类型
                activeIcon:getAssetsFile('img','serviceActive.png'),
                inactiveIcon:getAssetsFile('img','serviceInActive.png'),
            }
        },
    },
]
